package com.chixing.service.impl;

import com.chixing.entity.Car;
import com.chixing.entity.CarOutlets;
import com.chixing.mapper.CarMapper;
import com.chixing.mapper.CarOutletsMapper;
import com.chixing.service.ICarOutletsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author shy
 * @since 2022-10-20
 */
@Service
public class CarOutletsServiceImpl extends ServiceImpl<CarOutletsMapper, CarOutlets> implements ICarOutletsService {
@Autowired
     private CarMapper carMapper;


    @Override
    public List<Car> getAllCar() {
      return  carMapper.selectList(null);
    }
}
